package com.hskn.hss.utils.redis.key;

import com.hskn.hss.utils.StringUtils;
import com.hskn.hss.utils.redis.BasePrefix;

/**
 * 下班打卡时间
 */
public class EndWorkPunchCardTimeKey extends BasePrefix {

    public static final int TOKEN_EXPIRE = StringUtils.getSecondsNextEarlyMorning().intValue();

    public static final String END_WORK_PUNCH_CARD_TIME_PREFIX = "END_WORK_PUNCH_CARD_TIME_";

    private EndWorkPunchCardTimeKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static EndWorkPunchCardTimeKey token = new EndWorkPunchCardTimeKey(TOKEN_EXPIRE, END_WORK_PUNCH_CARD_TIME_PREFIX);
}
